for value in range(1, 5):
 print(value)

numbers = list(range(1, 6))
print(numbers)
# 指定步⻓
even_numbers = list(range(2, 11, 2))
print(even_numbers)
# 创建更复杂的列表
squares = []
for value in range(1,11):
 squares.append(value**2)
print(squares)

digits = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0]
# 最小值
print(min(digits))
# 最大值
print(max(digits))
# 和
print(sum(digits))